﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="1006-1.aspx.cs" Inherits="_1006_1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript">
    function pageLoad(sender, args) {
        if (args.get_isPartialLoad()) {
            //  reapply the thick box stuff
            tb_init('a.thickbox, input.thickbox,');
        }
    }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="Get_photo_AllData"
        TypeName="CCH.DAO.albumDAO">
        <SelectParameters>
            <asp:Parameter Name="alb_no" Type="Int32" />
        </SelectParameters>
        
    </asp:ObjectDataSource>
<table class="webpath">
		<tr>
			<td style='vertical-align: middle'>
				<img src="images/photo/home.gif">
			</td>
			<td style='vertical-align: middle'>
				<a href="index.aspx"><% Response.Write("首頁".ConverToCN());%></a>
			</td>
            <td style='vertical-align: middle'>
                <img src="images/photo/icon.gif">
            </td>
            <td style='vertical-align: middle'>
                <a href='<% Response.Write("1006.aspx?type="+Request["type"]);%>'>
                    <asp:Label ID="lab_title" runat="server" Text=""></asp:Label></a>
            </td>
		</tr>
	</table>
    <div class="gallery">
        <div id="maincol_head" class="galleryhead">
            <asp:Label ID="lab_title2" runat="server" Text=""></asp:Label><div class='maincol_head_date'>
            </div>
        </div>
        <div id="gallerybody">
            <asp:ListView ID="ListView1" runat="server" DataSourceID="ObjectDataSource1">
                <EmptyDataTemplate>
                    <p>
                        <span id="sp_DATA">
                            <% Response.Write("查無資料".ConverToCN());%></span></p>
                </EmptyDataTemplate>
                <ItemTemplate>
                    <div id="Div1" class="gallery_category">
                        <table width="100%" align="center" valign="middle">
                            <tr>
                                <td>
                                    <div class="photo_bg1">
                                    <asp:HyperLink ID="HyperLink3" runat="server" Target="_blank" CssClass="a-letter-t2" NavigateUrl='<%# String.Format("1006-3.aspx?alb_no={0}&pho_no={1}",Eval("alb_no"),Eval("pho_no"))%>'>
                                        <asp:Image ID="Image1" CssClass="pic_01" runat="server" AlternateText='<%#Eval("pho_name") %>'
                                            ImageUrl='<%# String.Format("1006-2.ashx?alb_no={0}&pho_no={1}",Eval("alb_no"),Eval("pho_no"))%>' />
                                    </asp:HyperLink>
                                   </div>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <%# Eval("pho_desc").ConverToCN()%>
                                </td>
                            </tr>
                        </table>
                    </div>
                </ItemTemplate>
            </asp:ListView>
            <br class="clr">
        </div>
    </div>

</asp:Content>

